﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.Framework.Enums;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 销售商/供应商信息
    /// </summary>
    public class SellerSupplier : EntityBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public SellerSupplierType Type { get; set; }
        /// <summary>
        /// 状态
        /// True-正常 false-销户
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 银行帐号
        /// </summary>
        public string ChargeBankNumber { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string Bank { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string ChargeName { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string CertificateNum { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int CreaterId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public virtual User Creater { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新人Id
        /// </summary>
        public int UpdaterId { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public virtual User Updater { get; set; }
        /// <summary>
        /// 更新人姓名
        /// </summary>
        public string UpdaterName { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
